package com.ruoyi.mes.mapper;

import java.util.List;
import com.ruoyi.mes.domain.NewEnergyMonitor;

/**
 * 实时能耗监控Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public interface NewEnergyMonitorMapper 
{
    /**
     * 查询实时能耗监控
     * 
     * @param recordId 实时能耗监控主键
     * @return 实时能耗监控
     */
    public NewEnergyMonitor selectNewEnergyMonitorByRecordId(Long recordId);

    /**
     * 查询实时能耗监控列表
     * 
     * @param newEnergyMonitor 实时能耗监控
     * @return 实时能耗监控集合
     */
    public List<NewEnergyMonitor> selectNewEnergyMonitorList(NewEnergyMonitor newEnergyMonitor);

    /**
     * 新增实时能耗监控
     * 
     * @param newEnergyMonitor 实时能耗监控
     * @return 结果
     */
    public int insertNewEnergyMonitor(NewEnergyMonitor newEnergyMonitor);

    /**
     * 修改实时能耗监控
     * 
     * @param newEnergyMonitor 实时能耗监控
     * @return 结果
     */
    public int updateNewEnergyMonitor(NewEnergyMonitor newEnergyMonitor);

    /**
     * 删除实时能耗监控
     * 
     * @param recordId 实时能耗监控主键
     * @return 结果
     */
    public int deleteNewEnergyMonitorByRecordId(Long recordId);

    /**
     * 批量删除实时能耗监控
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNewEnergyMonitorByRecordIds(Long[] recordIds);
}
